package com.heimo.agentlicence.ui.fragment;

import android.content.Context;
import android.support.v4.app.Fragment;
import android.view.ViewGroup;

import com.heimo.agentlicence.ui.adaptor.ScreenSlidePagerAdapter;

public class BasicFragment extends Fragment{
	private final String TAG = "BasicFragment";
	protected ViewGroup v;
	protected Context ctx;
	protected ScreenSlidePagerAdapter adapter;
	protected String licenceNo = null;
	
	protected void setContext(Context ctx) {
		this.ctx = ctx;
	}
	
	protected void setAdapter(ScreenSlidePagerAdapter adapter) {
		this.adapter = adapter;
	}
	
	/*When this page is displayed*/
	public void fnPageLoad(){
		
	}
	
	public void updateLicence(String licenceNo){
		this.licenceNo = licenceNo;
	}
	
	public String getCurrentLicence(){
		return this.licenceNo;
	}
}
